﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AssetFlowER.ascx.vb" Inherits="WebForm_AssetMaintain_Component_AssetFlowER" %>

<asp:Panel ID="panel1" runat="server" BackColor="#E7FEC2" BorderWidth="1" Width="950px" Height="450px"
    ScrollBars="Auto">
    <table border="1">
        <tr>
            <td colspan="8" align="center">
                
                <asp:Label ID="lblTitle" runat="server" Font-Bold="True" Font-Size="24px" 
                    meta:resourcekey="lblTitle"></asp:Label>
                
            </td>
        </tr>
       

        <tr>
            <td colspan="8" align="center">
                <asp:Button ID="btnPrevious" runat="server" meta:resourcekey="btnPrevious" />
                &nbsp;&nbsp;
                <asp:Button ID="btnOK" runat="server"  meta:resourcekey="btnOK"  />
                &nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnClose" runat="server"  meta:resourcekey="btnClose"  />
          
            </td>
        </tr>
        <tr>
            <td colspan="8" align="center">
                <TServerControl:TGridView ID="gvMain" runat="server" AllowHoverEffect="False"
                    Width="900px" AllowHoverSelect="False" AutoGenerateColumns="False"
                    ShowFooterWhenEmpty="False" ShowHeaderWhenEmpty="True" SkinID="pager" 
                    TotalRowCount="0">
                    <EmptyDataTemplate>
                        <asp:Label ID="lblEmpty" runat="server" ForeColor="Red" meta:resourcekey="lblEmpty"></asp:Label>
                    </EmptyDataTemplate>
                    <Columns>
                        <asp:TemplateField>
                            <ItemTemplate>
                                <asp:RadioButtonList ID="rbModiType" runat="server" RepeatColumns="3" 
                                    RepeatDirection="Horizontal" SelectedValue='<%# Bind("ModiType") %>' 
                                    Enabled="False">
                                    <asp:ListItem meta:resourcekey='MmodiType1'></asp:ListItem>
                                     <asp:ListItem meta:resourcekey='MmodiType2'></asp:ListItem>
                                      <asp:ListItem meta:resourcekey='MmodiType3'></asp:ListItem>
                                </asp:RadioButtonList>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField>
                            <ItemTemplate>
                                
                                <asp:LinkButton ID="btnDelete" runat="server"  meta:resourcekey='btnDelete'
                                    CommandArgument='<%# Bind("asset_serialNo") %>' CommandName="Delete"></asp:LinkButton>
                                
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:BoundField  meta:resourcekey="colassetdef_id"  DataField="Def_Name" />
                        <asp:BoundField  meta:resourcekey="colasset_serialNo" DataField="asset_serialNo" />
                        <asp:BoundField  meta:resourcekey="colasset_owner" DataField="asset_owner" />
                        <asp:BoundField  meta:resourcekey="colUser2"  DataField="User2" />
                        <asp:TemplateField meta:resourcekey="colNewOwner">
                            <ItemTemplate>
                                <asp:TextBox ID="txtNewOwner" runat="server" Text='<%# Bind("NewOwner") %>' Width ="60px"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField meta:resourcekey="colNewUser2">
                          
                            <ItemTemplate>
                              <asp:TextBox ID="txtNewUser2" runat="server" Text='<%# Bind("NewUser2") %>' Width ="60px"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        <asp:TemplateField meta:resourcekey="colNewOtherUser">
                            
                            <ItemTemplate>
                               <asp:TextBox ID="txtOtherUser" runat="server" Text='<%# Bind("OtherUser") %>' Width ="60px"></asp:TextBox>
                            </ItemTemplate>
                        </asp:TemplateField>
                        
                       <asp:BoundField  DataField="asset_ownerID" />
                        
                    </Columns>
                    <PagerSettings Position="Top" />
                </TServerControl:TGridView>
            </td>
        </tr>
    </table>
</asp:Panel>

 